package com.haulmont.asu.entity;

import javax.persistence.*;

/**
 * Author: Sergey42
 * Date: 28.11.13 14:15
 */
@Table(name = "EXT_COMMISSION_COMPOSITION_COMMAND")
@Entity(name = "ext$CommissionCompositionCommand")
@DiscriminatorValue("140")
@PrimaryKeyJoinColumn(name = "COMMAND_ID", referencedColumnName = "ID")
public class CommissionCompositionCommand extends Command {

    private static final long serialVersionUID = -2845762139160806408L;

    @ManyToOne
    @JoinColumn(name = "COMMISSION_ID")
    protected Commission commission;

    public Commission getCommission() {
        return commission;
    }

    public void setCommission(Commission commission) {
        this.commission = commission;
    }
}
